﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestResultSearch.aspx.cs" Inherits="BOH.Exam.TestResultSearch" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../style/css.css" type="text/css" rel="Stylesheet" />
    <script src="../js/jquery-1.3.2.js" type="text/javascript"></script>
    <script src="../js/common.js" type="text/javascript"></script>
    <script>
        function SetOldValue(obj) {
            var oldvalue = obj.value;
            $(obj).attr("oldvalue", oldvalue);
        }
        function SetScoreAndCourse(obj) {
            var oldvalue = $(obj).attr("oldvalue");

            if (oldvalue != $(obj).val()) {
                var hideCourse = $("#hiddenCourseID");

                var hidde = $(obj).prev();
                hideCourse.val(hidde.val() + ":" + $(obj).val() + ";" + hideCourse.val());
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divNavigation">
       当前位置:<a href="OverView.aspx" target="frameControl">成绩管理</a> >> 成绩管理
    </div>
    <div id="bodyDiv">
        <center>
         <div id="divSearch">
            <center>
                <div style="width:98%; text-align:left;"><b>查询条件</b></div>
                <table width="98%" class="Grid">
                    <tr>
                        <td align="right">
                            主管局
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpGovern" runat="server" AutoPostBack="true"  OnSelectedIndexChanged="drpGovern_SelectedIndexChanged">
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            工作单位
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="drpUnit" runat="server">
                            <asp:ListItem Text="请选择工作单位" Value="-1"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width:120px;">
                            身份证号
                        </td>
                        <td align="left" style="width:180px">
                            <asp:TextBox ID="txtIDCard" runat="server" Width="120px" MaxLength="18" />
                        </td>
                         <td align="right" style="width:120px;">
                            姓&nbsp;&nbsp;&nbsp;名
                        </td>
                        <td align="left" >
                            <asp:TextBox ID="txtApplyName" runat="server" Width="120px" />
                        </td>
                    </tr>
                    
                </table>
            </center>
            <p>
                <asp:Button ID="butSearch" runat="server" Text="查询" Width="100px" 
                    onclick="butSearch_Click" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="butSave" runat="server" Text="保存" Width="100px" 
                    onclick="butSave_Click"/>
             </p>
         </div>
         <div id="divGrid">
         <asp:HiddenField ID="hiddenCourseID" runat="server" />
         <asp:GridView ID="ApplyTestList" runat="server" AutoGenerateColumns="false" 
                 Width="98%"  CssClass="Grid" AllowPaging="True" PageSize="15"  >
               <PagerSettings Mode="NumericFirstLast" />    
          </asp:GridView>
         <div id="divPager">
                <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="15" AlwaysShow="True"
                    OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="35%"
                    ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                </webdiyer:AspNetPager>
           </div>
        </div> 
        </center>
    </div>
    </form>
</body>
</html>
